package elijah.base.result;

import java.util.List;

public class ListResult<T> extends IResult {

    private List<T> values;
    public ListResult() {
    }
    public ListResult(List<T> values) {
        this.values = values;
        setResult(true);

    }

    public List<T> getValues() {
        return values;
    }

    public ListResult<T> setValues(List<T> values) {
        this.values = values;
        if (values != null) {
            setResult(true);
        }
        return this;
    }
}
